package com.twu.biblioteca;

import java.io.IOException;
import java.io.OutputStream;
import java.io.PrintStream;

/**
 * Created by thoughtworker on 1/14/14.
 */
public class PrintStreamStub extends PrintStream {

    public String outputString = "";

    public PrintStreamStub (){
        super (new OutputStream() {
            @Override
            public void write(int i) throws IOException {

            }
        });
    }

    public void println(String output){
        outputString = output;
    }
}
